package com.feihao.zhou.demoAnnoExtends;

public class Zi extends Fu {
    private int age;

    public Zi(int age) {
        this.age = age;
    }

    public Zi(String name, int age) {
        super(name);
        this.age = age;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void show(){
        System.out.println("子类的show方法");
    }
}
